close all;
clear all;


[t,x] = ode45('plant', [0 10], [0.5;0;0;0]);

x1 = x(:,1);
x2 = x(:,2);
int = x(:,3);
g = x(:,4);


figure(1);
plot(t,x1,'b','linewidth',2);
xlabel('time(s)');ylabel('x1');
legend('x1');
title("state variable x1");

figure(2);
plot(t,x2,'b','linewidth',2);
xlabel('time(s)');ylabel('x2');
legend('x2');
title("state variable x2");
